/////////////////////////////////////////////////////////////////////////////
// Name:        application.h
// Purpose:     
// Author:      Brant Young
// Modified by: 
// Created:     Fri 02 Mar 2007 20:09:29 CST
// RCS-ID:      
// Copyright:   (C) Victsoft 2007
// Licence:     GPL 2.0
/////////////////////////////////////////////////////////////////////////////
#pragma once

#include <wx/wx.h>
//#include <wx/wxsqlite3.h>

class DictQuery {
public :
	DictQuery(const wxString& dbpath); // dbpath: full path
	virtual ~DictQuery();
	
	bool query(const wxString& word, wxHtmlWindow* explain_wnd);

	wxString name;
	// wxString category;
	wxString version;
	wxString description;
	wxString author;
	wxString date;
	wxString email;
	wxString website;

protected :
	wxString get_explain(const wxString& word);
	
private :

	wxSQLite3Database db;
};

